﻿"use strict";
define(["service/service", "service/httpService"], function (service) {
    service.factory("tokenBillService", function ($location, httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/tokenbill/gets", params);
            },
            get: function (params) {
                return httpService.get("/admin/tokenbill/GetBill", params);
            },
            comfirm: function (id) {
                return httpService.post("/admin/tokenbill/ConfirmBill", { id: id });
            },
        }
        return methods;
    });
});